@charset "UTF-8";

/* 计算rem */
@function r($px){
    @return ($px/40) * 1rem;
}
/* 减半px */
@function half($px){
    @return ($px/2) * 1px;
}

html,body{
    height: 100%;
    position: relative;
}

/* 主体 */
section{
    position: absolute;
    top: half(123);
    bottom: half(135);
    width: r(750);
    overflow: scroll;//多余的部分用滚动显示
    -webkit-overflow-scrolling: touch;
    /* 图片轮播 */
    .pic_swiper{
        width: r(750);
        height: r(216);
        text-align: center;
        position: relative;
        overflow-x: hidden;
        .sw{
            width: 25%;
            img{
                width: half(148);
                height: half(149);
            }
            span{
                display: block;
                font-size: 13px;
                color: #000000;
            }
        }      
    }
    /* 美食 */
    .food,.sport,.movie{
        width: r(750);
        margin-top: 10px;
        .b_tip{
            width: 100%;
            box-sizing: border-box;
            padding: 0 half(21) 0 half(25);
            .tip{
                >img{
                    width: half(54);
                    height: half(42);
                    vertical-align: middle;
                }
                >span{
                    font-size: 15px;
                    vertical-align: middle;
                }
            }
            .Fmore{
                span{
                    font-size: 12px;
                    color: #000000;
                    vertical-align: middle;
                }
                img{
                    width: half(25);
                    height: half(26);
                    vertical-align: middle;
                }
            }
        }
        .b_pic{
            width: r(750);
            text-align: center;
            margin-top: half(36);
            .bp{
                width: 25%;
            }
            img{
                width: half(133); 
                height: half(133);     
            }
        }
    }
    /* 分页样式覆盖 */
    .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
        bottom: -5px;
        color: #ff9344;
    }
}
